<!DOCTYPE html>
<html>
	<head>
		<title>{$uinfo.user_login} - 个人中心</title>
		<meta name="keywords" content="" />
		<meta name="description" content="">
		<include file="public@head" />
		<style>
			.control-label {
				font-weight: bold;
				float: left;
				width: 70px;
			}
		</style>
	</head>
	<body class="body-white" id="top">
		<div class="container">
			<div class="row">
			
				<div class="tabs">
				
					<div class="tab-content">
					
						<div class="tab-pane active" id="one">
						
							<div class="wrap js-check-wrap" style="margin-top:3rem;">
								<form class="well form-inline margin-top-20" method="post" action="{:url('Jiaojie/supplylist')}">
									时间:
									<input type="text" class="form-control js-bootstrap-date" name="start_time" id="start_time" value="{:input('request.start_time')}" style="width: 140px;" autocomplete="off">-
									<input type="text" class="form-control js-bootstrap-date" name="end_time" id="end_time" value="{:input('request.end_time')}" style="width: 140px;" autocomplete="off"> &nbsp; &nbsp;									
									<input type="submit" class="btn btn-success" value="搜索" />
									<a class="btn btn-warning" href="{:url('Jiaojie/supplylist')}">清空</a>
									<a class="btn btn-success" style="margin-left: 10px;" href="{:url('Jiaojie/supply')}">新增对冲</a>
								</form>
								<div style="height:350px;overflow-y:auto;">
								<table class="table table-hover table-bordered table-striped">
									<thead>
										<tr style="text-align: center;">
											<th align="left">编号</th>
											<th align="left">店铺</th>											
											<th align="left">收银员</th>
											<th align="left">类别</th>
											<th align="left">金额</th>
											<th align="left">备注</th>
											<th align="left">时间</th>
										</tr>
									</thead>
									<tbody>
										<foreach name="list" item="vo" key='k'>
											<tr style="text-align: center;">
												<td ><php>
												if(isset($_GET['page'])){
													echo $k+1+8*($_GET['page']-1);
												}else{
													echo $k+1;
												}
												</php></td>
												<td>{:get_store_data($vo['storeid'],'store_name')}</td>
												<td>{:get_operator_data($vo['operatorid'],'user_login')}</td>
												<td>{$vo['type']|get_pay_type_val}</td>
												<td>{$vo.money}</td>
												<td>{$vo.remark}</td>
												<td>{$vo.ctime|time_format}</td>
											</tr>
										</foreach>
									</tbody>
								</table>
								</div>
								<div class="pagination">{$page}</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<!-- /container -->
		<include file="public@scripts" />
	</body>

</html>